﻿using BitButterECS.Component;
using BitButterECS.Entity;

namespace BitButterECS.Event.EventArgs
{
	public class DetachComponentEventArgs : BaseEventArgs
	{
		public DetachComponentEventArgs(BaseEntity entity, BaseComponent component)
		{
			Entity = entity;
			DetachedComponent = component;
		}

		public BaseEntity Entity { get; }

		public BaseComponent DetachedComponent { get; }
	}
}
